<html>
<body>
报告可以析构的声明。
<p><b>示例：</b></p>
<pre><code>
  data class My(val first: String, val second: Int, val third: Boolean)

  fun foo(list: List&lt;My>) {
      list.forEach { my ->
          println(my.second)
          println(my.third)
      }
  }
</code></pre>
<p>该快速修复会析构声明并引入具有来自相应类的名称的新变量：</p>
<pre><code>
  data class My(val first: String, val second: Int, val third: Boolean)

  fun foo(list: List&lt;My>) {
      list.forEach { (_, second, third) ->
          println(second)
          println(third)
      }
  }
</code></pre>
</body>
</html>
